
#ifndef	__IIC_H__
#define	__IIC_H__

// #define IIC_COMM

#ifdef IIC_COMM
sbit	IIC_CS = ;
sbit	IIC_CLK = ;
sbit	IIC_SDI = ;
sbit	IIC_SDO	= ;
#endif

void IIC_RW(void);
unsigned char IIC_ReadOneByte(void);
void IIC_ReadBytes(unsigned char* p,unsigned char l,unsigned char uctkcount);
void IIC_WriteOneByte(unsigned char wdata);
void IIC_WriteBytes();
void delay_us(unsigned char t);
#endif
